package org.window;

import javafx.geometry.Pos;
import javafx.scene.layout.*;


/**
 * 右边行
 */
public class PaneAndHBoxFrameAndColumnVBox {
    public static VBox vBox = new VBox();
    public static void init(){
        vBox.setLayoutX(0);
        vBox.setLayoutY(0);
        vBox.setPrefWidth(500);
        vBox.setPrefHeight(300);
        vBox.setAlignment(Pos.TOP_LEFT);
//        new BackgroundImage(new Image("bgk.jpg"),BackgroundRepeat.NO_REPEAT ,BackgroundRepeat.NO_REPEAT, BackgroundPosition.CENTER, BackgroundSize.DEFAULT)
//        vBox.setBackground(new Background(new BackgroundImage(new Image("bgk.jpg"), BackgroundRepeat.NO_REPEAT ,BackgroundRepeat.REPEAT, BackgroundPosition.CENTER, BackgroundSize.DEFAULT)));
        vBox.getChildren().addAll(
                PaneAndHBoxFrameAndColumnVBoxAndHBox.hBox,
                PaneAndHBoxFrameAndColumnVBoxAndHBoxInputValue.hBox
        );
        PaneAndHBoxFrameAndColumnVBoxAndHBox.init();
        PaneAndHBoxFrameAndColumnVBoxAndHBoxInputValue.init();
    }
}
